package com.guigu.common.mapper;


import com.guigu.chenjiajun.vo.MProcedureVo;
import com.guigu.common.pojo.MProcedure;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MProcedureMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MProcedure record);

    int insertSelective(MProcedure record);

    MProcedure selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MProcedure record);

    int updateByPrimaryKey(MProcedure record);

    List<MProcedureVo> queryProcedure(Integer id);

    void SubmitProcessHandoverProcedure
            (@Param("id") String id,@Param("parentId") String parentId,@Param("number") String number);

    MProcedure TransferOfAudit(@Param("id")String id, @Param("parentId")String parentId);

    void SubmitForHandoverReview(@Param("parentId")String parentId, @Param("procedureId") String procedureId);
}